package com.amit.spring.ioc;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class Lab3 
{

	public static void main(String[] args) {
		
	ApplicationContext ctx=new ClassPathXmlApplicationContext("applicationContext.xml");
	Hello h=(Hello) ctx.getBean("hello");
	h.m1();
		
		
	}

}
